package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dtos.ChannelDTO;
import com.heima.model.admin.pojos.AdChannel;
import com.heima.model.common.dtos.ResponseResult;

public interface AdChannelService extends IService<AdChannel> {
    //分页查询频道列表
    ResponseResult findByNameAndPage(ChannelDTO dto);
    //新增频道
    ResponseResult insert(AdChannel channel);
    //修改频道
    ResponseResult updatead(AdChannel channel);
    //删除频道
    ResponseResult deleteById(Integer id);
}
